/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.chris.webservice.ws.impl;

import javax.ejb.EJB;
import javax.ejb.Remote;
import javax.ejb.Stateless;
import javax.jws.WebMethod;
import javax.jws.WebService;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import com.chris.webservice.manager.intf.ILocationManager;
import com.chris.webservice.ws.common.OmcConstants;
import com.chris.webservice.ws.intf.IHelloService;

/**
 *
 * @author Chris
 */
@Stateless
@Remote
@WebService(name = "HelloService", targetNamespace = OmcConstants.NS, serviceName = "ws")
//@Interceptors({ExceptionInterceptor.class, SecurityInterceptor.class})
//@Interceptors({ExceptionInterceptor.class})
public class HelloServiceImpl implements IHelloService {

    @EJB
    private ILocationManager testManager;
    protected static Logger logger = LoggerFactory
            .getLogger(HelloServiceImpl.class);
    
    @WebMethod(operationName = "GetPositionRequest")
	public String GetPositionRequest(String str) {
		System.out.println("hello " + str);
		return "ok";
	}

    
    
}
